package team.seekers.hula.island.island.entity.dto;
import lombok.*;
import org.hibernate.validator.constraints.Length;
import team.seekers.hula.common.entity.BaseDTO;

import javax.validation.constraints.NotBlank;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class IslandUpdateDTO extends BaseDTO {

    private String id;

    @Length(max = 60, message = "浪屿名字最大长度为 60")
    @NotBlank
    private String name;

    private String background;

    private String description;

    private String introduction;

    private Integer status;

    private Double price;

    private Integer type;

    /**
     * 可支配hula币
     */
    private Double hulaCoin;

    /**
     * 可支配hula分
     */
    private Double hulaScore;
}
